]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Disconnect from transitions when stopped
authorSebastian Keller <skeller@gnome.org>
Sat, 11 Apr 2026 13:02:12 +0000 (15:02 +0200)
committerSebastian Keller <skeller@gnome.org>
Sat, 11 Apr 2026 13:31:21 +0000 (15:31 +0200)
commit7c7d62510fbf46e94fcc54be152ff163a2808e87
tree0cc5f4ff55bca238d96a39db4308f9db0644ba5d
parent4c879d707f6012db7916e0fbc09b45ff48633c6f
environment: Disconnect from transitions when stopped

Transitions don't emit a 'destroy' signal which would be used by the
SignalTracker to automatically clean up, leading to all transitions
being leaked until session shutdown.

Avoid this by manually disconnecting them when stopped.

Fixes: 240aa910d ("environment: Ignore animation events after shutdown")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4168>
js/ui/environment.js